<!--
 * @Author: liaoyu1992 1519778181@qq.com
 * @Date: 2022-11-04 21:27:38
 * @LastEditors: liaoyu1992 1519778181@qq.com
 * @LastEditTime: 2022-11-11 22:03:51
 * @FilePath: \kgantt\core\components\taskitem\bar\barProgressHandle.vue
 * @Description: 
-->
<template>
  <polygon
    class="kgantt-barHandle"
    :points="progressPoint"
    @mousedown="onMouseDown"
  ></polygon>
</template>
<script lang="ts" setup>
defineProps({
  progressPoint: {
    type: String,
    default: "",
  },
});
const emits = defineEmits(["onMouseDown"]);
const onMouseDown = (event: MouseEvent) => {
  emits("onMouseDown", event);
};
</script>